package com.qijian.maindata.service.impl;

import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.common.core.domain.model.LoginUser;
import com.qijian.common.enums.ApprovalDescriptionEnum;
import com.qijian.common.utils.DateUtils;
import com.qijian.common.utils.bean.BeanUtils;
import com.qijian.common.utils.uuid.IdUtils;
import com.qijian.maindata.domain.*;
import com.qijian.maindata.domain.vo.InspectionItemDetailVo;
import com.qijian.maindata.domain.vo.InspectionItemVo;
import com.qijian.maindata.domain.vo.InspectionSchemeVo;
import com.qijian.maindata.mapper.LineProcessSchemeMapper;
import com.qijian.maindata.mapper.ProcessOrderMapper;
import com.qijian.maindata.mapper.ProcessOrderUsersMapper;
import com.qijian.maindata.service.IInspectionSchemeService;
import com.qijian.maindata.service.ILineProcessSchemeService;
import com.qijian.system.domain.SysConfig;
import com.qijian.system.service.ISysConfigService;
import com.qijian.tool.domain.Msg;
import com.qijian.tool.service.IMsgService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.redisson.api.RLock;
import org.redisson.api.RedissonClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.interceptor.TransactionAspectSupport;

import java.util.*;
import java.util.stream.Collectors;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author qijian
 * @date 2024-08-17
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class LineProcessSchemeServiceImpl extends ServiceImpl<LineProcessSchemeMapper, LineProcessScheme> implements ILineProcessSchemeService {

    private final LineProcessSchemeMapper lineProcessSchemeMapper;

    @Override
    public List<InspectionItemDetailVo> selectInspectionItemDetail(Long lineProcessId) {
        return lineProcessSchemeMapper.selectInspectionItemDetail(lineProcessId);
    }
}
